<template>
	<view>
		<view class="smart-panel-head">
		<view class="smart-panel-head-title">navigator，链接</view>
	</view>
	<view class="smart-padding-wrap">
		<navigator url="/pages/components/navigator/navigator?Account=wzy&cid=123456">
			<button type="default">跳转到新页面</button>
		</navigator>
		<navigation url="newpage/newpage" hover-class="navigation-hover">
			<button type="default">跳转到新页面</button>
		</navigation>
		<navigation url="newpage/newpage?title=redirect"open-type="redirect" hover-class="other-navigation-hover">
			<button type="default">在当前页打开</button>
			</navigation>
			<navigator url="">
				<button></button>
			</navigator>
			<navigator url="/pages/tabBar/api/api" open-type="switchTab" hover-class="other-navigation-hover">
				<button type="default">跳转tab页面</button>
			</navigator>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				titile:'navigator',
				Accoumt:'list',
				CID:112233
				
			}
		},
		onLoad() {
			console.log("navigator--->onLode-->"+JSON.stringify(option));
		},
		onShow() {
			console.log("navigator--->onShow-->");
		},
		methods: {
			gonavigate(){
				uni.navigator({
					url:"/pages/components/navigator/navigator/navigator?Account="
					
				})
			}
			
		}
	}
</script>

<style>

</style>
